package com.yonyou.cyxdms.sysAuth.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yonyou.cyxdms.sysAuth.service.dto.EquityDto;
import com.yonyou.cyxdms.sysAuth.service.entity.EquityPo;

import com.yonyou.cyxdms.sysAuth.service.mapper.EquityStructureMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author <a href="https://www.fengwenyi.com?code">Erwin Feng</a>
 * @since 2022-06-14
 */
@Service
public class EquityStructureServiceImpl extends ServiceImpl<EquityStructureMapper, EquityPo> implements EquityStructureService {
    @Resource
    private EquityStructureMapper equityStructureMapper;

    @Override
    public List<EquityDto> selectByCompanyId(Integer companyId) {
        return equityStructureMapper.selectByCompanyId(companyId);
    }
}
